<script src="lib/js/zepto.js"></script>

<script>

    Zepto(function ($) {
        $(document).on("click", "[data-toggle='modal']", function () {
            var sTar = $(this).data("target");
            $(sTar).addClass("in");
        });
        $(document).on("click", "[data-dismiss='modal']", function () {
            $(this).parents(".modal").removeClass("in");
        });
    });

</script>
